home *** CD-ROM | disk | FTP | other *** search
- Path: news.informatik.uni-muenchen.de!usenet
- From: Kurt Watzka <watzka@stat.uni-muenchen.de>
- Newsgroups: comp.lang.c
- Subject: Re: heap fragmentation
- Date: Thu, 29 Feb 1996 13:24:30 +0100
- Organization: Institut fⁿr Statistik
- Message-ID: <31359AFE.2467@stat.uni-muenchen.de>
- References: <remigy.37.001137F2@uni-duesseldorf.de>
- NNTP-Posting-Host: pc7.stat.uni-muenchen.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Mathias Remigy wrote:
- >
- > Hi,
- >
- > I have written a program that dynamically allocates
- > matrices, defined as _double **M_, taking care to free
- > them after use.
- >
- > The functions have been tested, and, as far as I can tell
- > as a C novice, they are bug free.
-
- I'd never say that about a non-trivial program.
-
- > The problem is that the program crashes every once in a while,
- > complaining about allocation problem. Could heap fragmentation
- > be the snag, and if it is, what can I do about it ?
-
- Could a _finite_ heap be the the source of your problem?
-
- Kurt
-